package com.hckj.jianzhijia.model;

import com.avos.avoscloud.AVObject;

/**
 * Created by 赵奇隆 on 2015-11-30.
 */
public class WebPage {

    private int type;
    private String url;
    private String title;

    public WebPage(AVObject avObject){
        this.title = avObject.getString("title");
        this.type = avObject.getInt("type");
        this.url = avObject.getString("url");
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
